[PATCH 1/6] tests: Add more tests for function definitions.