remove warnings for test cases