fix bug: job always become 'timeout', event fail/success in time bound

1. fix bug: job always become 'timeout', event fail/success in time bound
2. feature: better test support in log.js