#10 Add branches test for UserService