Add a simple unit test for the remaining functions, not that we can test much sensibly here.