Add rudimentary tests.