Fixed bug with iterables in Props and PropsSI

There was an bug in swapping of arguments for Props and PropsSI methods, if the arguments contained iterables. I have also added unittests to catch these things...