In unit tests, specify exception types as const-ref to avoid Catch warnings.
In unit tests, specify exception types as const-ref to avoid Catch warnings.

Discovered this warning by compiling with GCC 8.1.1.

jpetso/cppcodec,tplgy/cppcodec