BUG: non supported structured array assignments

Raising an error for non supported operations. Also adapting related
statement in test. Resolves #3126 and #3561.