add test for NULL in job find logic