change permission of test codes