(no-ticket) Move a mixin class used to test question notifications to test.py file

Change-Id: I937b3853eaccd898efc73b69ac307f85f52a95d9
Merge "(no-ticket) Move a mixin class used to test question notifications to test.py file"