CBQE-1222: boundary tests

Change-Id: I4cae77937ad2a297d83c6ac3bac0a99b23978f86
Reviewed-on: http://review.couchbase.org/25780
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>