give post_xform_to_couch a default domain of 'test-domain'

and only allow this function to be used in tests
Merge pull request #108 from dimagi/fix-tests

give post_xform_to_couch a default domain of 'test-domain'