Enable the spec of testing crash of protocol module.
Initialize job factory as early as possible.

Fixes atom/atom#3255.