[TEST] add more debug output when engine / store are closed