added new method hSetNx and tests