Fixed test failure due to regex for metadata