test re-write, require shim