Print the inheritance chain when some tests fail.
Add a test for pretty-printed current application.
Fix missing tail of inheritance chain in assertKindOf().

Fix assertKindOf() so that it prints the full
inheritance chain when the assertion fails.