test also calling the new Function
avoid copying data unnecessarily