Use a custom assert macro

This allows for checks to fail and our teardown (`sphia_clear`) to still run.  Otherwise, we’ll have a corrupted database after any assertion fails.
Merge pull request #39 from sphia/test/use-custom-assert

Use a custom assert macro