[WIP] Add some acceptance tests for functions.