finish exercises for ch 7 - tests and cleaned up flash message