added rspec for status