complete test regex in getPath