Working tests for Category and fixed json responses