Fix broken assert

First, it was asserting the wrong expression, which had no value. Fixed.

Second, Debug.Assert is ignored when NUnit runs in Travis-CI. Added a TraceListener to make it that fail.