First source code commit with several tests

Change-Id: Ibba92ac468894be41ef36ea9964a4f89522ce0bc