unit test for user service add user failure