preliminary chess stuff, fixed karma tests