tests complex yaml