remove old app dumps and add a test for it (bug877858)
Merge branches 'bug-877260' and 'master'