added a tets case, addressed Raman's code review comment
7 files changed