Removing console.log in unit tests