Also add tests to the bot expressions custom functions.
The expressions support is based on ideas from go-away but with different opinions about how things should be done.