Add tests for function declaration and calling.