Add tests for body-less functions
Merge pull request #1126 from alco/1125-test

Add tests for body-less functions