How do I send a test SMS via the API?

You can send a test message by adding the parameter 'test=1' to your request. The test message goes through the whole sending process except for actually being sent. Therefore, sending a test doesn't cost you any credit.