Adds factory test script.