(#22363) Add test that literal type can be interpolated

Test that "interpolate ${Array[Integer]}" works (results in
the type in string form).