updated logging, unit tests