remove use of deprecated property on Test