adding yaml test

adding yaml test, other changes are made in the jdbc-adapter to fix bug