cleanup formatting of rspec tests and helpers [skip-ci]