Added logging to several tests