Adjusted functional tests so that they can be run on any server