changed functional tests to their own folder