Add unit tests regarding behavior of is_base_of and dynamic_cast when pr...

...ivate base classes are involved.