test foundation helper