refactor to mock location; focus test on world