testing while in class