fix failing tests

adopt to changes in rspec major upgrade