copy tests from pyalps and pyalps-new