anchor.diff:    });
   }
   
  -bool _hasFailingTestAnnotation(MethodMirror method) {
  -  return method.metadata.any((InstanceMirror annotation) =>
  -      annotation.type.reflectedType == _FailingTest);
  -}
  +bool _hasAnnotationInstance(DeclarationMirror declaration, instance) =>
  +    declaration.metadata.any((InstanceMirror annotation) =>
  +        identical(annotation.reflectee, instance));
  +
  +bool _hasAssertFailingTestAnnotation(MethodMirror method) =>
  +    _hasAnnotationInstance(method, assertFailingTest);
  +
  +bool _hasFailingTestAnnotation(MethodMirror method) =>
  +    _hasAnnotationInstance(method, failingTest);
   
   Future _invokeSymbolIfExists(InstanceMirror instanceMirror, Symbol symbol) {
     var invocationResult = null;
  
positive.code: 
  /**
   * A marker annotation used to annotate overridden test methods (so we cannot
   * rename them to `fail_`) which are expected to fail.
   */
  class _FailingTest {
  
negative.code:  * for the annotated classes.
   */
  const ReflectiveTest reflectiveTest = const ReflectiveTest();
  
  /**
   * Is `true` the application is running in the checked mode.
   */
  final bool _isCheckedMode = () {
    try {
      assert(false);
      return false;
    } catch (_) {
      return true;
    }
  }();
  
  /**
   * Runs test methods existing in the given [type].
  