Restructure code base so testing doesn't pick up local source. Add WrapperBase extension module to reduce overheads.