reloacate test code