Added test script to OP algorithm.