fixed broken location test