use level=AssertionLevel.warning instead of AssertionLevel.error