add test for ns_server collector

Change-Id: I79be1e0b6edda294b9718521aff4865e1aa8e2ba
Reviewed-on: http://review.couchbase.org/24585
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>