added tests for redis setNX