updated test to new foundation wrapper