fixes 'loading-foundation' test