fix test script for job opening