Added check to skip events such as "test" when creating metadata file.