Changed console.logs to real tests