add test case for NAME_PATTERN

add UT test_InvalidExtName2 for ExtensionLoaderTest.