Test for reading a conf file from a specified directory.