Add test for restore button on history page
Keep Created entries when purging, add tests