Add option to update test baseline images
Propagate test exit code