added range and location tests