fix for metadata_test.go