runApplication isn't needed for foamDictionary as it doesn't log anything of consequence. Using runApplication leads to false unconfirmed completion warnings in the test loop as foamDictionary does not generate an end statement.
getApplication