add a test for redis setNX