use AssertionLevel.warning instead of AssertionLevel.error