Use API tokens in tests.

Fixes #9.
Merge pull request #10 from one-love/issue/9

Use API tokens in tests.