Add an "assert" in tests.
Better exceptions.