correct deprecation test