fixing tests
remove console.log + adding comments