Add more tests and implementations

add(int index), set()
Some fixes from last commit.