Add some acceptance tests for functions.