* tests: use future::join * fix panic in cache_session_info_for_head * fix test assertion * fix infinite loop in determine_new_blocks * fix ordering in determine_new_blocks * fix expected ancestry in tests