Nearby Notification: Implement nearby notification and refactor test cases