Write tests for basic observing functionality.