Added test class for location repo(#19)