class tests