remove only test middist
make middist as a standalone package