Added test case where overridden base class function is unreachable from derived class