fixed pm.node('msg', 'fail', null) to use error instead of warn