Fixing exceptions when comparing invalid unit test elements - rather return 'not equal'. Closes #155.