#142 adding unit test case