add kdirname
respect $UNCO_HOME
start adding tests