test prototype stuff for sparse functions as well
don't depend on Object.getPrototypeOf in tests