error out if tests don't have correct number of DOM elements when completed