Added logging statements for tests.