unittest: support errors in module setUp