oops, in unit test, retrieve first element of iterator in a py27 safe way