Changed test to that bfs is reconstructed after bfs_reset.