Reset configfiles between test runs

Class variables are not cleared between test runs so we introduce a new
method to do just that and call that between our unit tests.
Rename section and subsection method to path
Further unit tests improvements