Tested YAML import on Metamorphosis

Moved the expected result to a variable making it somewhat DRY