updated unit test with a console.log call.