Refactored duplicate definition of create purgatories table in test