test location api