adapted the tests to the HEX api changes