resolved warning in tests