Initialise a mock application for two tests covering code that load the device config