Merge pull request #888 from kingFighter/issue98

[test] automatic test case for save devtools' settings
[test] fix bug about save devtools' settings on Mac