regression tests for Stack<> class so it works with TRAITs, and SimpleClassWithoutComparisonOperators