remove warning in a test.