add test for purge on staging only