Fix empty uri for functional tests