Ok, time to write tests around the API. Can't have a solid app without a firm foundation.