a lot of messing around with minitest mocks to rewrite all specs to no longer require rspec