Added controller tests for GadgetsController.