Dbunit test has been implemented in the method MysqlconnectorTest.testDumpRestore(), which fulfills the scenario.