test cases for haoshu