Add a few tests for data validator. This class can be fully covered
by testing easily. (wip)

Signed-off-by: Norv <a.w.norv@gmail.com>