Minor fixes in tests
Fix phpdoc in Collectionhandler - had wrong return types
Convenience magic setters/getters for read and write collections definition.

Modifications in transaction tests