fix plai tests