modified user_test