removal of console.log as test sucessful