Fix hub tests