Added basic unit testing and test for foundation in static.