Update license headers

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Add a first unit test

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>