fix up logging in
unremove test
pass lint