More test cases for useMemo inlining, including the problematic case we found internally and some similar tricky cases with labels.