Fixing error with console.log test