Wrote tests for Lectures#edit and #update.