converted mock deprecation warnings to double