fix tests for rethinkdb and increase time