Unit tests to be sure drivers will load

Change-Id: I95cd5c7ffa52727cab409541b7dd0e6d5a8d0bd4
diff --git a/drivers/optical/BUCK b/drivers/optical/BUCK
index 23ee9b7..98eb012 100644
--- a/drivers/optical/BUCK
+++ b/drivers/optical/BUCK
@@ -5,8 +5,14 @@
     '//drivers/default:onos-drivers-default',
 ]
 
+TEST_DEPS = [
+    '//lib:TEST_ADAPTERS',
+    '//core/api:onos-api-tests',
+]
+
 osgi_jar_with_tests (
     deps = COMPILE_DEPS,
+    test_deps = TEST_DEPS,
     resources_root = 'src/main/resources',
     resources = glob(['src/main/resources/**']),
 )