Added test and creation of config|data directory, which will be needed later.