Restructure source directories after splitting out tests.