ALM-600 added tests for caching of sources API calls
ALM-600 updated rspec tests