added unit test

Change-Id: I67442e7be239d07edf237eff916237c1258e0440