Add test script and log