added one test for location model