add tests for contents create, update and rm methods