Nose tests

Fixed batch task specification.
Added timeout for coordinator process.