unittest for foamDataDisplay