Finish adding tests for MetadataTable

Fixes #6.