test file for saving metadata