converting rspec to minitest