Validation test fixes

- Fixed unused variable
- Changed test to verify complete message instead of verifying if message contains text.