Completed testsundara, fixed bugs.

Testsundara found bugs in sundara and jala.