Add unit tests for NegativeRestClient class

This commit adds unit tests for NegativeRestClient.

Partially implements bp unit-tests

Change-Id: I47db1b23b85b7636516292d4a6b78fba0afcfe99
Merge "Add unit tests for NegativeRestClient class"