add tuple tests
add tests and jdoc