change to functional tests