add tests for yaml file format

ref https://github.com/flatiron/nconf/pull/123

@jcrugzz @sundq