add test to cpuplayer class