remove non-used test code.
_getTypeBasedMethod now uses transactional variable cache, not erp5_content_long cache.