added some smart completion tests