Tests: Refactor tearDown show command logging, add lifecycle markers.