add h2 testing code