adds initial functional tests.