Add validation for ListField and DictField
Add tests of ListField and DictField