tests for infinite lists