added test console.log