using ProgressMonitor
added metadata test