square rspec testing