Removing this unnecessary test line, and refactoring up `hasSymbols`.
Adding forEach and copyFunction helpers for tests.
Adding tests and support for comparing generators.
Adding tests and support for comparing arrow functions.
Consider functions "equal" if type, name, arity, and body are equal.