Adds some tests that show using sqrt to find an index is not a good idea..