Add a test of "showState()"