add tests for initial yaml implementation