add tests for inline-metadata