fix location test to be more accurate