fix warning in test