Added unit-tests for background updates