Fixed the CBL_Database_Purge test case