test code in lists