Added rspec for bug fix