MDL-64958 gradeimport_csv: Better unit tests for check_user_exists()