Add test script and update README accordingly