added test for div alert error to pass in chap 8