Added test for using a proxy with component and now gets proxy ip from environment variables