Issue #533, Fixing rspec test