add old data deletion to test case