tests: add Block.getId tests