etcdmian: add tests for configuration parsing
Merge pull request #1981 from xiang90/flag_test

etcdmian: add tests for configuration parsing