updated decks controller to pass tests