Added tests for dumping function types.