Lookup test modules from inside closure.