Modifies spec test for metadata cleanup.
Merge branch 'metadata/#53' of github.com:uclibs/curate_fork into metadata/#53