removed console.logs
fixed broken tests