Added test cases for function and typedef.