Shims and tests