add watchPathes and tests