fix some silly things in test cases