Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
In the process, also replaces a raw mutable pointers with Unique to spell out the ownership semantics. cc #22709