Add more test for isPositionOnBoard