added test for Python lambda in imageset