Add tests to check against invalid chars in parameters