fix phantom tests