completed attr switchover; set up testcode file