    expect(binaryToHex(defaultBinaryPhash)).toEqual(defaultHexPhash)
  })
  it('should convert to bin', (): void => {
    expect(hexToBinary(defaultHexPhash)).toEqual(defaultBinaryPhash)
  })
  it('should fail properly on convert to bin', (): void => {
    expect.assertions(1)

    try {
      hexToBinary(defaultHexPhash + 'z')