basic test and primary class