Issue #2361317: added tests for Quiz defaults. Fixed an issue with a notice after saving new defaults.
Fix bad _quiz_after_build_fix_year_options().
Fix broken test cases.