Fixes to example config for user apps

The format of the config section for a user app is quite brittle and had
been setup incorrectly.

This corrects those errors and updates some tests to make use of them
rather than relying on mocking.