split verify method into verify and get arguments, added mode in which the verify method will throw an exception and a mode in which it will return 'False'