Fix a bug.
Add some setitem tests.