Feature/validator tests

Tests for validators.py