completed spec for get_location