Added code for refreshing.
Added tested for cascading on refresh and removed obsolete tests.