Updated category controller test