Add test of Function.name and friends