revised rspec tests for quiz index feature