test graph and mouse