Updated for RethinkDB 1.4, added hook for test status