Added unit test for isDraw().