Small unit tests for this little debug class