add some logging to tests