Deprecate test method.