Expose owner in db definition
Tests for owner param
Merge pull request #273 from ares/master

Expose owner in db definition