Law requiring state to test all rape kits takes effect