Make API test_multiple_paths green again

Update OperatingSystem entity and map remote to local paths
Update str_type parameter in Role entity name field
Improve StringField to convert to a tuple if a string is given as
str_type
Improve skip_if_sam helper method to deal with entities modified by
functools.partial

Related to #1452
Does this actually work?

```python
>>> from functools import partial
>>> def add(a, b):
...     return a + b
...
>>> p = partial(add, 1)
>>> p(2)
3
>>> p.func(1, 2)
3
>>> p.func(2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: add() missing 1 required positional argument: 'b'
```