[extension] extension dir cli arg, some tests