Category regress spec

Refactored spec and simplified controller now uses ActiveModel method find_or_initialize_by_id. It handles nil input.