Detect when PhantomJS makes a core dump (#382) + debug logs
Integration tests: test assertions and exit codes
Merge pull request #413 from macbre/exit-codes-handling-improved

Fulfilled promise with error code 1