modified some test cases end remove -werror option