Add testcase for Traceback class

See #554
See #476