Adding Functional Tests.