Clean up testPromoteFileEntity()