Move test code into src directory.