ADT.CircularList: Added testcase.

Added test for the bug reported in LysLysKOM 20179471/Pike mailinglist 13520.