fix unittests
remove useless patch in unittest