Fix unit tests.

Signed-off-by: Dhananjay Nakrani <dhananjaynakrani@gmail.com>