Bolivia tests market with $500m bond issue