Fix vertex index dtype assertion error in test