Add API tests

Fixes gh-5.
Merge pull request #37 from FreeMusicNinja/api-tests

Add API tests