add testcases for atom and lists