added tests to iterator lab to check for exceptions