tests: Invalid chars test added.