Added FoundationBasePanel. Fixed tests.