Proper patching for is_active during tests