add tests for inner hash