add insert tests
Merge pull request #4 from optimizely/tests

add insert tests