Fix client snippet tests since making processQueue async