category controller specs refactored