Small fixes for rspec test
Merge remote-tracking branch 'origin/dev' into dev