test would fail on square numbers