Tweak fun creation
Remove typo
Add some more tests for bad lambda inpouts