selectSquareWithLeastValues test done