tresql methods fix and tests
6.0-M10-SNAPSHOT