tests for the new hybrid validator
create the new hybrid validator
fix line length on docstrings