Add test for lost writes to global variables (i.e. gzip capsicum compartmentalisation bug)