test for class lecture example