Update coffee logger test for onUpdated callbacks

The test was missing assertions, and also didn't cover the onUpdated
callback registration method. This change fixes both these issues.