merge test script
make it work