Merge pull request #145 from SMB-TEC/master

#143 add test cases