Adding  test case for GC with literals declared inside functions. Passes