MDL-44279 user: added unit test to trigger known bug
MDL-42279 user: fixed typo in user_get_user_details_courses