complete functional tests