added unit test for parsing location data