Testing: Add PyUnit test cases

Change-Id: If194a37afd7b340c53599bf403296f79ee8225f9