Support for __all__ as a list with square brackets

\_\_all\_\_ can be a list. This adds a failing test
for that and fixes it.