Do not use configparser.SafeConfigParser in tests
This patch removes this deprecation warning when run tests with Python
3.7:
DeprecationWarning: The SafeConfigParser class has been renamed to
ConfigParser in Python 3.2. This alias will be removed in future
versions. Use ConfigParser directly instead.
Signed-off-by: Chenxiong Qi <cqi@redhat.com>