Added DOM checks for each model test.