Tweak doc metadata and fix test