Moved mock below extension loading