Fix rspec deprecations and quiet down logging during specs