Unit-test implementation of http://www.rethinkdb.com/docs/guide/python/