(maint) Remove incorrect spec in format_handler

This spec wrongly expected a guaranteed order returned by FormatHandler::formats.