Move remaining_time generation back to quizlib so we can test it