Fix errors with rspec and style