Isolate testing environment for RawType