Tests that future hiddenapi flags do not crash the runtime.