fix builder test cases