Adds api-call command
Adds tests for call-api
Fixes test
Removes debug statement
Merge pull request #441 from sudorandom/call-api

Adds api-call command