improved assertation for zap spec