Add proguard to nearby service target.

Also fixed a few minor issues.

Bug: 189355156
Test: install on sunfish && atest NearbyUnitTests
Change-Id: I8f5cc990e69940a48fdad24713015690bdc6d3cd
diff --git a/nearby/tests/Android.bp b/nearby/tests/Android.bp
index 09fe5ea..67a3b83 100644
--- a/nearby/tests/Android.bp
+++ b/nearby/tests/Android.bp
@@ -33,8 +33,9 @@
 
     static_libs: [
         "androidx.test.rules",
-        "truth-prebuilt",
         "framework-nearby-pre-jarjar",
+        "platform-test-annotations",
+        "truth-prebuilt",
     ],
     test_suites: [
         "general-tests",