Issue #2267697: adding test for question outside of quiz permissions
Fixing resume functionality now that time_end can be null.