Fix test failures in pipeline and messenger specs.