tests: add unit tests for config file parser