Make parameterized assertion error extend assertion error

Fixes #693 and #694.