fix test require location