How to setup a small test environment?

I have created https://github.com/jedie/syncthing/wiki/Test-Syncthing for this.

EDIT: New topic here -> How to create Syncthing test environments