mpre unit testing

Change-Id: I7244bc65df7d945bc573b1d9bb2ca9c8f243c879