[offline][managed] Added integration test for purge