Config parser with tests