Avoid a stack when a test has failure, so that CasperJS returns 1