refactor mods controller spec