conditional asserts