fix supervisor test