Add test providesDeclaredMethodsWithCorrectDeclaringCards.