Fix some errors test