Adds support for composite operands on assertions and mocks