Make info test less fragile to changes

Makes the info test compare against actual metadata rather than
hardcoded values.
Merge pull request #108 from hugoduncan/feature/fix-info-tests

Make info test less fragile to changes