Moves tests to separate file.