tests & logs