Added thrice to cardinality and expectation with associated tests