adding console.logs to debug the tests