added some logs to test.