added vcr tests for api interaction logic