Unit tests for writing metadata