Tests for square numbers