Fixed purgeTest