added test_visualisation; modified pr2to3