fix title in docs
clean up test setup using let