config parsing, loading, tests