added tests for UpdateIfReady
made onRssSuccess function tastable
refactored methods to get it testable
added new test methods
Merge branch 'unit-tests'