add test target to Makefile

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