Adds tests for call-api