give post_xform_to_couch a default domain of 'test-domain'

and only allow this function to be used in tests