Add unit tests

Change-Id: Iff4890edac84a104e4208b81ae33f8555b9a2efb
5 files changed