validator initializes
added supporting logic for testing validator initialization
added parser class and added mock methods to support tests