Add tests for validation message elements.