CBQE-0 add tests to upgrade tests

Change-Id: I83b4910f4dd3d03d9e027902a774c2c86d5a0833
Reviewed-on: http://review.couchbase.org/41569
Reviewed-by: Thuan Nguyen <soccon@gmail.com>
Tested-by: Thuan Nguyen <soccon@gmail.com>