 		describe  "*updateClient", ->
 			testDocument =
 				clientID: "Botswana_OpenHIE_Instance"
-				domain: "www.zedmusic.co.zw"
+				clientDomain: "www.zedmusic.co.zw"
 				name: "OpenHIE NodeJs"
 				roles: [
 						"test_role_PoC"

						else
							Client.findOne { clientID: "YUIAIIIICIIAIA" }, (err, client) ->
								client.clientID.should.equal "YUIAIIIICIIAIA"
								client.domain.should.equal "him.jembi.org"
								client.name.should.equal "OpenMRS Ishmael instance"
								client.roles[0].should.equal "OpenMRS_PoC"
								client.roles[1].should.equal "PoC"

		describe  "*getClients()", ->
			testDocument =
				clientID: "Botswana_OpenHIE_Instance"
				clientDomain: "www.zedmusic.co.zw"
				name: "OpenHIE NodeJs"
				roles: [
						"test_role_PoC"
