Update testing.py

rename create_a_mock_window -> create_mock_window