Cover additional cases in user_test