Unit Tests: Fixing uninitialized memory issue in unit tests.