[ca] fix test errors