Unit test for user handler of application service