#15 added a UT file to express how to use the validator
#15 started to implement the validator according to the UT