Nova config unittest code additions, with negative tests

- Added unit test cases with client thread and agent code.
- Fixed IP address and uuid checks