improve tests
comment debug, write example console interface