split a test helper
the "function" built-in type constructor works