Move all the test core classes to its own module