replace rspec with test