Fixed test: error message when cv name is long or blank

Filter name was also uniqueify with `with-unique`. Fixed it with let.