add tests for yaml and toml in addition to the existing json test