r19: Unit tests for CIS lib. This commit closes #1