Using test related to current directory

re #6175