Add badInput, tooShort, customError validation tests

1.Add badInput validation test
2.Add tooShort validation test
3.Add customError validation test
4.Add checkValidity method test
5.Add reportValidity method test
6.Modify other issues

Signed-off-by: xiaojunwu <xiaojunx.a.wu@intel.com>