First API unit tests created.
Merge pull request #41 from johntanner/rough

First API unit tests created.