test for infinite job