WIP: Add tests for mktree validation

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