add test for directories of applications