Added validations and test for slide 14 of Active Record/SQL assignments