add test for new functionality (insert with key)