There is a simple test suite to make sure things are working as we expect. To execute them,

make test

The tests behave differently if you run them as a normal user or as root.