testing metadata persisting