fix fail tests (rspec 3 syntax)

On rspec 3 tests failed, so fix it. (Similar problem desribed [here](http://stackoverflow.com/questions/23937758/rspec-failing-error-expected-false-to-respond-to-false))