[WIP] Validator tests

Begun to write some tests for the validators.

 I'll add additional tests in the comming days. I just opened this PR, that no duplicate work is made.