Add debugging code. Ignoring other tests that use legalMovesFilter.