setting app directory path and make test view