@Test
public void testReleaseLock() {

    long v = dynoLockClient.acquireLock(resource, 100);
    Assert.assertTrue("Acquire lock did not succeed in time", v > 0);
    dynoLockClient.releaseLock(resource);
    v = dynoLockClient.checkLock(resource);
    Assert.assertTrue("Release lock failed",v == 0);
}