#143 add test cases