test overridding non-native methods