Added tests for Api Credits; more tests in separate PR