Fix NearbyApi test

Don't check floats for exact accuracy, exact value depends on the
platform.

Change-Id: I02d7f4eeea5126bd355b96cff84b117e3cc24b19
Merge "Fix NearbyApi test"