More testing for get_colocation_id, added more error handling in AGAS client.