new test: assignment in conditions