Added test with modification of active_mask, to check that the data gets reloaded