Add document validator test

Added DocumentValidator tests