Fixes NPE when forwarding job events if job has been created with command only

Also changes job status update logic
Added new JobCoordinator unit tests