Moves default test spec code into its own file.