new test generation feature based on regex, added test cases