Fix CategorySerializer test
Fix rubocop complaint