Added unit tests for newoptical package.

Change-Id: I23d7b0ec4241ee620dccb605b529d50288242eb8
diff --git a/apps/newoptical/BUCK b/apps/newoptical/BUCK
index c21f807..fd80f40 100644
--- a/apps/newoptical/BUCK
+++ b/apps/newoptical/BUCK
@@ -4,8 +4,13 @@
   '//cli:onos-cli',
 ]
 
+TEST_DEPS = [
+  '//lib:TEST_ADAPTERS',
+]
+
 osgi_jar_with_tests (
   deps = COMPILE_DEPS,
+  test_deps = TEST_DEPS,
 )
 
 onos_app (