Node JS unit and code validation issue fixed