added more logs in the tests