ALM-688 updated rspec tests