Began adding tests

* Updated to latest datomic-free
* Added tests for utility functions