 						else
 							Client.findOne { clientID: "YUIAIIIICIIAIA" }, (err, client) ->
 								client.clientID.should.equal "YUIAIIIICIIAIA"
-								client.domain.should.equal "him.jembi.org"
+								client.clientDomain.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"

			it  "should remove an client with specified clientID", (done) ->
				docTestRemove =
					clientID: "Jembi_OpenHIE_Instance"
					domain: "www.jembi.org"
					name: "OpenHIE NodeJs"
					roles: [
							"test_role_PoC"

							done err
						else
							res.body.clientID.should.equal "testClient"
							res.body.clientDomain.should.equal "www.zedmusic-unique.co.zw"
							res.body.name.should.equal "OpenHIE NodeJs"
							res.body.roles[0].should.equal "test_role_PoC"
							res.body.roles[1].should.equal "monitoring"
