Made use of message attribute in assertions