tests class