updated unit test -removed console.log