Fix broken header.
Add libassert, tests.