multiple assignments with nesting passes tests