adding more tests for location as an object