Fixed test for ShowsController. Refactored a query into a scope