#611 removed console.log
#611 minor refactoring of calling convention.
#611 set logger level in tests to info.
#611 cleanup