test: fix comment
test: remove `console.log()` call
index: adjust comment to have beginning and middle case examples