add test and new example

set to null to delete session one level key