tests for config parsing