testing foundation functionality