setting up loggers
rearranging test method