test working with subdirectories