end of in class testing