rewrote FetchAPI to retrieve older versions
added unit test for FetchAPI