fix completion tests