Clean up date when a quiz is deleted.
Update test case document.
Fix coding style.