remove console.log
fix tests