Nested(many=True) serializes None to an empty list

also fix flake8 error in tests