Fixed #145 - Add code to test is the provided api_url valid or not.