Add tests for the DocumentValidatorFactory class and make sure all the correct cases of a proper URL are handled.