Port test suite to rspec