Add a test script and program