[QAE1032] fixed Rspec tests