MDL-45023 quiz statistics report : refactoring of tests for code reuse