add test script and update readme