Added tests for setDirty.  Changed mongo extension requirements in
composer.json.