Make test 2.0 compatible

Change-Id: If857f16024a82dd0cc3e7cbf3833c05f1597c427
Reviewed-on: http://review.couchbase.org/25939
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>