silence warning in tests