fixed the test for bvisit