Complete tests on array assignments