Add Unit Tests 

Add unit tto MemoryTarget class.