two working tests for metadata