simplify locations test