test that we do not add multiple assignments