fixed test, removed console.logs