updating functional tests