moved chess test into the api