fix phantom exit on observer test script