added tests, prevent duplicate index keys
1.3.5