Fixed infinite recursion in visualiser vertex and invalid variable call
Added tests for Visualiser Vertex