ISPN-3490 Extend compatatibility mode tests

* map/reduce
* library mode queries (old and new API)
* basic transactions