Moves mock to test file