testing compiler visitor