tests and fixes for timeline, fixes for job spawning (encoding)