tests: Updated test code to use new nginx port