add contrib unit test close #21