Add smoke test
use a minimal wrapper instead of redefining these functions
remove obsolete LoadConfig