Add warning test.