add simple test and export runCMAES