PUB-1070 add gains test to h2o