set test for check mate case
implemented in-check test