Change function name and make sure test verifies that the unexpected state is recorded in the JQManagedJob_InvalidStateException.