add topmetric visitor test case and add a feature