fix non unique tests for rethinkdb