add test for new functionality (insert with key)
Merge pull request #3 from novoda/fixinsert

add test for new functionality (insert with key)