properties is mutable, so every plugin should get its own copy

Unfortunately, this change breaks a test - but it really shouldn't. If you could have a look, please...