Add a function declaration parser test.

This was wrong in the standard library. Might as well make sure that we have it right.