Add new tests concerned about testing custom exceptions classes et al ...

This is to test whether custom exception classes and custom attributes
they use hold water.

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com>