Small change in testing attr verification method and added enum for specifying 2 types of verification methods