refactor insert and test
Merge pull request #14 from prestonp/master

Insert return result instead of coercing null