Move factory related test to own module
Release database locking after setting the key
break things while migrating to new text ui class
Changes default DB version
Fix little bug in Node init

When no tags are given with clear text option, the
code should not crash.