Refactored some test code, which now uses a properties file to change environment urls