Add a test for the validation
Update the message
Update the message
Update the indentation
Update the test
Update the test
Merge pull request #3 from WuLonghui/hw-issue-24

Add a test for the validation, and fix the indent problem.