added quiz activity preactivity testing