Add a simple test script, chain.sh