[fix] test invalid character input