Adds test for removing old activities