Add rspec test with some issues