Location tests2

 Next set of location related testcases
a) Uses factory functions
b) Fixed navigation for the entities
c) Added more new testcases to test_location module.
ok sure will take care of it hereafter, good to have such detailed informative suggestions/best practises from learning perspective. keep suggesting, looks like I have lot to learn. :)