Fix minor bug in handling of album.year, add tests for metadata tagging