Tests for method override.