Add test to check the basic implementataions

Check BasicListCond and BasicContext on implementing ListCond and
Context interface.