replace tests with rspec