Add some specs to compensate for the removed specs for generate_uri.