added restTest to testlib
added restify setup + test to examples