added get conrtoller tests and modified get_by_location method