fixed is_valid_char + test-ok WORKS!