Add generic test for the check erase of party
We got already two issues for invalid search in check_erase: #9867 (closed) and #9894 (closed). I think we need a generic test that could be added to any module that extend the wizard to ensure the check code is still valid.