Add tests for invalid fn forms