added test for AbstractVisualItem