Test Factory: improved disk allocation generate_obj