added test for validator message, close #24