add initial functional tests