check if conf file is written and read check if cfg struct is set correctls check correct private key test versioning