Test for class.