Surpressed deprecation in tests