test primary class methods