Unit Test Framework + Latch feature addition

1. Append Unit test to verify:
  a. Sanity.
  b. Eviction.
2. Add Latch barier mechanism to assist unit testing.