added test for valid yaml