Remove warning in test