tests for the exception class, adding support for arrays passed to exceptions
Merge branch 'exception' into directedgraph