fix not working test
fixed code coverage
cs + resolve bug in validator trait