Could you remove console.log()?
I don't think we can leave console.log() in the tests. Some browsers don't support console.log().