Add (currently failing) test case around saving metadata.