Creating a test file for spies