various fixes
add resultset tests
fixes & passed resultset tests (good code coverage)