Fix QUnit output for equal assertions

Display a friendlier message than 'undefined' when an equal assertion fails.