Created test script for converting job index to patch location