added unit test code of coho