Split up source code and test code into different directories.