created RegexTestHelper
added test cases