add -createconfig for testing