adding test script and docs