fixes for the tests + import fancylogger from correct place