Added location tests to EntityIndexTest.
Added fixes for testDenseSearch and testDistanceByLimit. Sometimes hysterix falls over though, and testDenseSearch fails.