ENH: Fixed another bug with shape stimuli and the _setWithOperation func

also added some tests to catch it in future