Quick fix junit test that broke with #1366

Added the purgeWorld method