main/test.c: Add test to verify there were no registration errors.