Add tests for square