Adding first round of functional tests.