created acceptance and unit tests for location model