Splits out tests into seperate files and moves them to test directory