Add tests for invalid characters in `name` (mostly coming from file systems)