CBQE-0 : Fix compaction tests

Change-Id: I7d4656138216f3b1a7c95bbd93d44680a63eda45
Reviewed-on: http://review.couchbase.org/40293
Tested-by: Meenakshi Goel <meenakshi.goel@globallogic.com>
Reviewed-by: Meenakshi Goel <meenakshi.goel@globallogic.com>