[Test] Added missing test for the previous 15fix commit
Merge pull request #17 from mmalmeida/15fix

Added an index() method to expose the entire metadata map. Fixes #15