test contact model