Issue #407, compileFn does not require a name. Add unit test as well