Test code for Database Purge Closes-Bug: #1350265

Change-Id: I5a35e369fe31a810137d2c98cf3a239861a48792
Merge "Test code for Database Purge Closes-Bug: #1350265"