Added spec coverage for ModuleController.