Add a more complex function to test.