test add regions and file type validation