don't try to check for the config file in test mode

fixes #291