Moved code in AssertionsMacro that work out error message's resource name based on operator to Assertions, which gets executed only when test fails at runtime.