Added flash checks to rspec