Add an integration test for <exclusions>

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