Added a test for adding of static methods - no code change needed though
Added setRegExp method