Implement API test cases
Merge pull request #29 from rocketu/apis

Implement API test cases