While the mock server rollback it still serves the same thread. This means that DBSync treats it as a no-op and no data are actually deleted. To fix that Unfied.rollbackTo needs to be used instead of simply Server.rollback. Also a different block needs to be created right after the rollback.