Add unit tests

Change-Id: Id16d6b1d9779bf5b40d37e8ab5e761ff5448db4b
4 files changed