move test code