test code policy