Increase test coverage to 100% in validators.py

Change-Id: Ic5ff4b9bb6ffc67589e6f62d492c25df08d69641
Merge "Increase test coverage to 100% in validators.py"