added KVC scratchpad and demo unit tests