Fix a bug when calling str upon a 'python list'.

Reported by lukas. Turned out to be a problem with iterators.

Add a failing test from lukas.

Fix this test.

Minor fix to test.