Add tests for invalid published file ID.
Fix test typo.