added test for api call for single book