Added two more tests for multiple and no endpoints.
Merge branch 'master' of https://github.com/juju/juju into enhance-api-endpoints-tests
Changed API endpoint address changing to be more clear.
Merge pull request #211 from TheMue/enhance-api-endpoints-tests

Added two more tests for multiple and no api-endpoints

Added two more api-endpoint test cases for multiple endpoints (and using only the first one) and no endpoints (so automatically refresh and return the first endpoint then).