Bugfix in map and ifilter :
* correct handling of generator expressions
* correct initialization of ifilter
* more tests to cover these cases