    @Test
    public void testSign() throws Exception {

        testImportExtended();
        neo.unlockUser(userPin);
        byte[] hash = new byte[32];
        byte[] signature = neo.sign(hash, 0);
        //TODO: Verify signature.
        assertThat(signature.length, Matchers.lessThanOrEqualTo(72));
    }