Add tests for public package and SpewState funcs.