add h2 tests and fixed failing tests for api