unit test for #434 : invalid deck check