Fixed test and removed remaining console.log.