[cvio] add method to check for invalid chars
[cvio] adjust tests