add validation testcase


- add test case. 
- validate NotEmpty field in Message model.