started refactroing the tests to allow multiple ESMs and test the ESM api rather than psqlesm
add ongoing rethinkdb adapter
more tests passing