test and set creates the key if key does not exists. fixes #96
invert logic to have less nesting
Split raw get into rawGetNode and rawGetNodeList