MDL-40697 core_grade: added unit tests for grade_created/updated events
MDL-40697 mod_assign: fixed unit tests so they pass with introduction of new events