added more tests to make full code cover of abstract validator