tests for user service