tests: sync common test infrastructure with ndn-cxx

Change-Id: I6f2ee4b5b644d6fddcebbe1158b1dd9ad2159417
diff --git a/tests/wscript b/tests/wscript
index de5a52c..8371275 100644
--- a/tests/wscript
+++ b/tests/wscript
@@ -1,7 +1,7 @@
 # -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
 
 """
-Copyright (c) 2014-2018,  The University of Memphis
+Copyright (c) 2014-2019,  The University of Memphis
                           Regents of the University of California
 
 This file is part of NLSR (Named-data Link State Routing).
@@ -22,7 +22,7 @@
 top = '..'
 
 def build(bld):
-    if not bld.env['WITH_TESTS']:
+    if not bld.env.WITH_TESTS:
         return
 
     bld.objects(target='unit-test-objects',
@@ -32,6 +32,5 @@
     bld.program(target='../unit-tests-nlsr',
                 name='unit-tests-nlsr',
                 source='main.cpp',
-                defines=['BOOST_TEST_MODULE=NLSR Unit Tests'],
                 use='unit-test-objects',
                 install_path=None)