Fix location test