Add Unit Tests 

Add unit to MemoryTarget class.