Fix failing tests - PreferenceHttpService is not always started and thus we need to make sure we either get or create the dataset in AbstractContext